package fr.esiag.isidis.pdsTeam.views;

import java.awt.Image;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.JPanel;

import fr.esiag.isidis.pdsTeam.beans.Station;

public class StationView extends JPanel{
	Image backGround;
	int x,y;
	Station station;
	public StationView(int x,int y,Station station){
		this.station=station;
		backGround=ResourceImage.getInstance().getStation();
		this.x=x;
		this.y=y;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public Image getImage(){
		return backGround;
	}
}
